package com.nms.service;


import java.util.List;

import com.nms.model.Email;

public interface EmailService {
	/**
	 * 
	 * @param e
	 *            实体Email
	 * @return 返回处理结果
	 */
	boolean save(Email e);
	
	/**
	 * 
	 * @param e 实体Email
	 * @return 返回处理结果
	 */
	boolean delete(int eid);
	
	/**
	 * 
	 * @param eid email的id
	 * @return 实体email
	 */
	Email getEmail(int eid);
	
	public List<Email> findUEmail(String username);
}
